package com.ms.p2p;

public class Constants {
	/** cookie中的JSESSIONID名称 **/
	public static final String JSESSION_COOKIE = "JSESSIONID";

	public static final String PRINCIPAL_SESSION_NAME= "loginUser";
	public static final String PRINCIPAL_ADMIN_NAME= "adminUser";
	public static final String CAPTCHA_SESSION_KEY = "captcha_session_key";
	public static final String CAPTCHA_SESSION_KEY2 = "captcha_session_key";

	public static final String FORGET_PASS_SESSION_KEY = "p2p_forget_password";
	public static final String REGIST_MOBILE_CODE_SESSION_KEY = "p2p_mobile_code_for_register";
	public static final String COMMON_MOBILE_CODE_SESSION_KEY = "p2p_mobile_code";
	public static final String AUTH_NEW_MOBILE_CODE_SESSION_KEY = "p2p_mobile_code_auth_new";
	public static final String AUTH_OLD_MOBILE_CODE_SESSION_KEY = "p2p_mobile_code_auth_old";
	public static final String VALIDATE_TOKEN_KEY = "validate_token";
	public static String  VALIDATEFAIL  = "001";//验签失败
	public static String  HASPAY  = "002";//已支付
	public static String  SUCCESS  = "003";//成功
	//admin
	public static final String ADMIN_BORROW_VERIFY_SESSION_KEY = "admin_borrow_verify";
	//mail
	public  static final  String TEMPLATE_MAIL_SUCCESS_REPAY = "/common/mail/mail_success_repay.ftl";
	public  static final  String TEMPLATE_MAIL_BIND = "/common/mail/mail_bind.ftl";
	public static final   String TEMPLATE_LOAN_ITEM = "/common/loan/loan_content.ftl";
	public static final   String TEMPLATE_WAP_NEWS_ITEM = "/wap/more/news_content.ftl";

	public static final   String TEMPLATE_WAP_LOANS_ITEM = "/wap/me/invest_content.ftl";

	public static final   String TEMPLATE_WAP_LOAN_ITEM = "/wap/loan/loan_content.ftl";
	public static final   String TEMPLATE_WAP_ACCOUNT_LOG_ITEM = "/wap/me/accountlog_content.ftl";
	public static final   String TEMPLATE_REDPACKET_ITEM = "/wap/me/redpacket_content.ftl";

	public static final   String TEMPLATE_PAGE = "/common/page/ajax_page.ftl";
	//mail
	public  static final  String TEMPLATE_SMS_BIND = "/common/sms/sms_bind.ftl";

	public  static final  String UPLOAD_LOCAL_PATH_TEST = "/Users/chensk/Downloads/p2pBiaoZhunBan/p2p-dubbo-web/src/main/webapp/";
	public  static final  String UPLOAD_LOCAL_PATH = "/usr/share/nginx";
	public  static final  String APP_TOKEN ="app_token";
	public  static final  String APP_MD5 ="app_md5";
}
